package com.health.db.service.sm.impl;

import java.util.List;

import com.health.db.dao.sm.IAdvertisementListDao;
import com.health.db.model.AdvertisementListExample;
import com.health.db.model.AdvertisementListTemp;
import com.health.db.service.sm.IAdvertisementListService;

public class AdvertisementListServiceImpl implements IAdvertisementListService {
 
	
	private IAdvertisementListDao advertisementListDao ;
	

	/**
	 * @return the advertisementListDao
	 */
	public IAdvertisementListDao getAdvertisementListDao() {
		return advertisementListDao;
	}

	/**
	 * @param advertisementListDao the advertisementListDao to set
	 */
	public void setAdvertisementListDao(IAdvertisementListDao advertisementListDao) {
		this.advertisementListDao = advertisementListDao;
	}


	@Override
	public List<AdvertisementListTemp> selectSimple(AdvertisementListExample example ) {
		// TODO Auto-generated method stub
		return advertisementListDao.selectSimple(example);
	}

	@Override
	public AdvertisementListTemp selectByTop() {
		// TODO Auto-generated method stub
		return advertisementListDao.selectByTop();
	}

	@Override
	public int updateReadAmount(Long advertisementid) {
		// TODO Auto-generated method stub
		return advertisementListDao.updateReadAmount(advertisementid);
	}


	
}
